package moxl.relaxng.schema;

import moxl.relaxng.schema.patterns.AfterPattern;

public class FlipFunction implements OneArgFunction<Pattern, Pattern>
{
	private final Pattern p2;

	public FlipFunction(Pattern p2)
	{
		this.p2 = p2;
	}

	public Pattern execute(Pattern p)
	{
		return new AfterPattern(p, p2);
	}

}
